package com.sengled.cloud.biz.union.mgt.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created by FMC on 2017/10/27.
 */
@Data
@ApiModel
public class SaveUserAccountRequest {
	
	@ApiModelProperty(position = 1, dataType = "Long", value = "账户ID,新增时为非必填项，可以不用填写")
	private Long id;

	@ApiModelProperty(position = 2, required = true, dataType = "String", value = "账户名")
	private String accountName;

	@ApiModelProperty(position = 3, required = true, dataType = "String", value = "登录密码")
	private String accountPwd;
	
	@ApiModelProperty(position = 4, required = true, dataType = "Long", value = "所属用户")
	private Long userId;

	@ApiModelProperty(position = 5, dataType = "Integer", value = "账户属性")
	private Integer accountType;

	@ApiModelProperty(position = 6, required = true, dataType = "Long", value = "角色权限")
	private List<Long> roleIds;

	@ApiModelProperty(position = 7, required = true, dataType = "Long", value = "账户状态   1 在线、2 离线、3 锁定、4 失效")
	private Integer accountStatus;

	@ApiModelProperty(position = 8, required = true, dataType = "Long", value = "店铺权限")
	private List<Long> shopAccountIds;	 
	
	@ApiModelProperty(position = 6, required = true, dataType = "Long", value = "公司Id")
	private Long companyId;
	
	@ApiModelProperty(position = 7, required = true, dataType = "Long", value = "操作人员")
	private Long operatorId;

}
